// 网站头部导航数据
var headerNavArr = [
    {
        context:"拉勾",
        href:"http://www.lagou.com"
    },
    {
        context:"我的购物车",
        href:"http://www.baidu.com"
    },
    {
        context:"淘宝",
        href:"http://www.taobao.com"
    },
    {
        context:"京东",
        href:"http://www.jd.com"
    },
    {
        context:"阿里",
        href:"http://www.alibaba.com"
    },
    {
        context:"腾讯",
        href:"http://www.qq.com"
    },
    {
        context:"网易",
        href:"http://www.163.com"
    },
    {
        context:"唯品会",
        href:"http://www.vip.com"
    }
];
// 商品导航数据
var goodsNavArr = [
    {
        context:"服装城",
        href:"http://www.baidu.com"
    },
    {
        context:"美妆馆",
        href:"http://www.baidu.com"
    },
    {
        context:"尚品汇超市",
        href:"http://www.baidu.com"
    },
    {
        context:"全球购",
        href:"http://www.baidu.com"
    },
    {
        context:"闪购",
        href:"http://www.baidu.com"
    },
    {
        context:"团购",
        href:"http://www.baidu.com"
    },
    {
        context:"有趣",
        href:"http://www.baidu.com"
    },
    {
        context:"秒杀",
        href:"http://www.baidu.com"
    }
];
// 商品详情
var goodsDetail = {
    // typeList是放大镜所需要的数据
    typeList: [
        {
            title: "Apple iPhone 13 (A2634) 128GB 星光色 支持移动联通电信5G 双卡双待手机",
            type:"星光色",
            imgSrc:"./assets/img/itemInfo/c1.jpg",
            // 放大镜数据：s小图  m中图 b大图
            preViewList: [
                { s: "./assets/img/preview/0/s1.jpg",m: "./assets/img/preview/0/m1.jpg", b: "./assets/img/preview/0/b1.jpg" },
                { s: "./assets/img/preview/0/s2.jpg",m: "./assets/img/preview/0/m2.jpg", b: "./assets/img/preview/0/b2.jpg" },
                { s: "./assets/img/preview/0/s3.jpg",m: "./assets/img/preview/0/m3.jpg", b: "./assets/img/preview/0/b3.jpg" },
                { s: "./assets/img/preview/0/s4.jpg",m: "./assets/img/preview/0/m4.jpg", b: "./assets/img/preview/0/b4.jpg" },
                { s: "./assets/img/preview/0/s5.jpg",m: "./assets/img/preview/0/m5.jpg", b: "./assets/img/preview/0/b5.jpg" },
                { s: "./assets/img/preview/0/s6.jpg",m: "./assets/img/preview/0/m6.jpg", b: "./assets/img/preview/0/b6.jpg" },
                { s: "./assets/img/preview/0/s7.jpg",m: "./assets/img/preview/0/m7.jpg", b: "./assets/img/preview/0/b7.jpg" },
                { s: "./assets/img/preview/0/s8.jpg",m: "./assets/img/preview/0/m8.jpg", b: "./assets/img/preview/0/b8.jpg" },
                { s: "./assets/img/preview/0/s9.jpg",m: "./assets/img/preview/0/m9.jpg", b: "./assets/img/preview/0/b9.jpg" }
            ]
        },
        {
            title: "Apple iPhone 13 (A2634) 128GB 午夜色 支持移动联通电信5G 双卡双待手机",
            type:"午夜色",
            imgSrc:"./assets/img/itemInfo/c2.jpg",
            // 放大镜数据
            preViewList: [
                { s: "./assets/img/preview/1/s1.jpg",m: "./assets/img/preview/1/m1.jpg", b: "./assets/img/preview/1/b1.jpg" },
                { s: "./assets/img/preview/1/s2.jpg",m: "./assets/img/preview/1/m2.jpg", b: "./assets/img/preview/1/b2.jpg" },
                { s: "./assets/img/preview/1/s3.jpg",m: "./assets/img/preview/1/m3.jpg", b: "./assets/img/preview/1/b3.jpg" },
                { s: "./assets/img/preview/1/s4.jpg",m: "./assets/img/preview/1/m4.jpg", b: "./assets/img/preview/1/b4.jpg" },
                { s: "./assets/img/preview/1/s5.jpg",m: "./assets/img/preview/1/m5.jpg", b: "./assets/img/preview/1/b5.jpg" },
                { s: "./assets/img/preview/1/s6.jpg",m: "./assets/img/preview/1/m6.jpg", b: "./assets/img/preview/1/b6.jpg" },
                { s: "./assets/img/preview/1/s7.jpg",m: "./assets/img/preview/1/m7.jpg", b: "./assets/img/preview/1/b7.jpg" },
                { s: "./assets/img/preview/1/s8.jpg",m: "./assets/img/preview/1/m8.jpg", b: "./assets/img/preview/1/b8.jpg" },
                { s: "./assets/img/preview/1/s9.jpg",m: "./assets/img/preview/1/m9.jpg", b: "./assets/img/preview/1/b9.jpg" }
            ]
        },
        {
            title: "Apple iPhone 13 (A2634) 128GB 粉色 支持移动联通电信5G 双卡双待手机",
            type:"粉色",
            imgSrc:"./assets/img/itemInfo/c3.jpg",
            // 放大镜数据
            preViewList: [
                { s: "./assets/img/preview/2/s1.jpg",m: "./assets/img/preview/2/m1.jpg", b: "./assets/img/preview/2/b1.jpg" },
                { s: "./assets/img/preview/2/s2.jpg",m: "./assets/img/preview/2/m2.jpg", b: "./assets/img/preview/2/b2.jpg" },
                { s: "./assets/img/preview/2/s3.jpg",m: "./assets/img/preview/2/m3.jpg", b: "./assets/img/preview/2/b3.jpg" },
                { s: "./assets/img/preview/2/s4.jpg",m: "./assets/img/preview/2/m4.jpg", b: "./assets/img/preview/2/b4.jpg" },
                { s: "./assets/img/preview/2/s5.jpg",m: "./assets/img/preview/2/m5.jpg", b: "./assets/img/preview/2/b5.jpg" },
                { s: "./assets/img/preview/2/s6.jpg",m: "./assets/img/preview/2/m6.jpg", b: "./assets/img/preview/2/b6.jpg" },
                { s: "./assets/img/preview/2/s7.jpg",m: "./assets/img/preview/2/m7.jpg", b: "./assets/img/preview/2/b7.jpg" },
                { s: "./assets/img/preview/2/s8.jpg",m: "./assets/img/preview/2/m8.jpg", b: "./assets/img/preview/2/b8.jpg" },
                { s: "./assets/img/preview/2/s9.jpg",m: "./assets/img/preview/2/m9.jpg", b: "./assets/img/preview/2/b9.jpg" }
            ]
        },
        {
            title: "Apple iPhone 13 (A2634) 128GB 蓝色 支持移动联通电信5G 双卡双待手机",
            type:"蓝色",
            imgSrc:"./assets/img/itemInfo/c4.jpg",
            // 放大镜数据
            preViewList: [
                { s: "./assets/img/preview/3/s1.jpg",m: "./assets/img/preview/3/m1.jpg", b: "./assets/img/preview/3/b1.jpg" },
                { s: "./assets/img/preview/3/s2.jpg",m: "./assets/img/preview/3/m2.jpg", b: "./assets/img/preview/3/b2.jpg" },
                { s: "./assets/img/preview/3/s3.jpg",m: "./assets/img/preview/3/m3.jpg", b: "./assets/img/preview/3/b3.jpg" },
                { s: "./assets/img/preview/3/s4.jpg",m: "./assets/img/preview/3/m4.jpg", b: "./assets/img/preview/3/b4.jpg" },
                { s: "./assets/img/preview/3/s5.jpg",m: "./assets/img/preview/3/m5.jpg", b: "./assets/img/preview/3/b5.jpg" },
                { s: "./assets/img/preview/3/s6.jpg",m: "./assets/img/preview/3/m6.jpg", b: "./assets/img/preview/3/b6.jpg" },
                { s: "./assets/img/preview/3/s7.jpg",m: "./assets/img/preview/3/m7.jpg", b: "./assets/img/preview/3/b7.jpg" },
                { s: "./assets/img/preview/3/s8.jpg",m: "./assets/img/preview/3/m8.jpg", b: "./assets/img/preview/3/b8.jpg" },
                { s: "./assets/img/preview/3/s9.jpg",m: "./assets/img/preview/3/m9.jpg", b: "./assets/img/preview/3/b9.jpg" }
            ]
        },
        {
            title: "Apple iPhone 13 (A2634) 128GB 红色 支持移动联通电信5G 双卡双待手机",
            type:"红色",
            imgSrc:"./assets/img/itemInfo/c5.jpg",
            // 放大镜数据
            preViewList: [
                { s: "./assets/img/preview/4/s1.jpg",m: "./assets/img/preview/4/m1.jpg", b: "./assets/img/preview/4/b1.jpg" },
                { s: "./assets/img/preview/4/s2.jpg",m: "./assets/img/preview/4/m2.jpg", b: "./assets/img/preview/4/b2.jpg" },
                { s: "./assets/img/preview/4/s3.jpg",m: "./assets/img/preview/4/m3.jpg", b: "./assets/img/preview/4/b3.jpg" },
                { s: "./assets/img/preview/4/s4.jpg",m: "./assets/img/preview/4/m4.jpg", b: "./assets/img/preview/4/b4.jpg" },
                { s: "./assets/img/preview/4/s5.jpg",m: "./assets/img/preview/4/m5.jpg", b: "./assets/img/preview/4/b5.jpg" },
                { s: "./assets/img/preview/4/s6.jpg",m: "./assets/img/preview/4/m6.jpg", b: "./assets/img/preview/4/b6.jpg" },
                { s: "./assets/img/preview/4/s7.jpg",m: "./assets/img/preview/4/m7.jpg", b: "./assets/img/preview/4/b7.jpg" },
                { s: "./assets/img/preview/4/s8.jpg",m: "./assets/img/preview/4/m8.jpg", b: "./assets/img/preview/4/b8.jpg" },
                { s: "./assets/img/preview/4/s9.jpg",m: "./assets/img/preview/4/m9.jpg", b: "./assets/img/preview/4/b9.jpg" }
            ]
        }
    ],

    recommend: "【即领即用】27-31号限时限量抢购大促神券！到手价低至7799！选购[1年期官方AppleCare+版]限时抢服务5折券！更多优惠",
    price: 5999,
    weight:"0.32kg",
    // 面包屑导航
    crumbData: [
        {
            "title": "选择版本",
            "data": [
                {
                    type: "128G",
                    changePrice: 0
                },
                {
                    type: "256G",
                    changePrice: 800
                },
                {
                    type: "512G",
                    changePrice: 1400
                },
            ]
        },
        {
            "title": "购买方式",
            "data": [
                {
                    type: "公开版",
                    changePrice: 0
                },
                {
                    type: "【1年期官方AppleCare+版】",
                    changePrice: 747
                }
            ]
        }
    ],
    // 配件
    fittings:[
        {
            types:"人气配件",
            list:[
                {
                    title:"图拉斯 苹果13手机壳防摔iPhone 13 pro max保护套硅胶透明镜头全包软壳 【苹果13】 镜头全包 | 贈全屏膜",
                    img:"./assets/img/fittings/01.jpg",
                    price:68
                },
                {
                    title:"图拉斯 苹果13钢化膜iPhone 13 Pro手机膜高清防爆抗摔全屏防尘覆盖耐指纹保护贴膜 【真机开模 | 全屏覆盖 | 听筒防尘】",
                    img:"./assets/img/fittings/02.jpg",
                    price:73.9
                },
                {
                    title:"Apple 20W USB-C手机充电器插头 快速充电头 手机充电器 适配器 适用iPhone12/iPhone13/iPad 快充插头",
                    img:"./assets/img/fittings/03.jpg",
                    price:149
                },
                {
                    title:"罗马仕 22.5W超级快充移动电源30000mAh充电宝双向快充三入三出兼容苹果20W TypeC 白色22.5W超级快充",
                    img:"./assets/img/fittings/04.jpg",
                    price:129
                },
                {
                    title:"罗马仕 数据线三合一苹果Type-c安卓手机充电线3.5A快充多功能一拖三头适用苹果/小米华为vivo 1.5米车载多用",
                    img:"./assets/img/fittings/05.jpg",
                    price:18.8
                }
            ]
        },
        {
            types:"手机壳",
            list:[
                {
                    title:"亿色 苹果13手机壳iphone13Pro/13promax手机壳透明mini硅胶防摔镜头全包软壳 苹果13【镜头全包|配钢化膜+贴纸】",
                    img:"./assets/img/fittings/11.jpg",
                    price:35.9
                },
                {
                    title:"【壳膜套装】鲸逐 苹果iPhone13手机壳硅胶超薄透明防摔软壳微磨砂纯色保护套 透明壳+钢化膜",
                    img:"./assets/img/fittings/12.jpg",
                    price:18.8
                },
                {
                    title:"【膜壳套装】金米诺 苹果13手机壳磁吸指环壳透明软壳车载磁吸保护套全包防摔男女款 磁吸透明指环壳+镜头膜",
                    img:"./assets/img/fittings/13.jpg",
                    price:55
                },
                {
                    title:"御胜 苹果13/苹果13pro手机壳iPhone13保护套 全包直边新款电镀防摔潮款个性手机壳 苹果13【电镀壳】象牙白+钢化膜",
                    img:"./assets/img/fittings/14.jpg",
                    price:26.8
                },
                {
                    title:"姚膜 苹果13手机壳微磨砂iPhone 13保护套硅胶防摔软壳简约镜头全包个性创意男女网红潮壳 iPhone 13【黑色】磨砂软壳+钢化膜",
                    img:"./assets/img/fittings/15.jpg",
                    price:22.8
                }
            ]
        },
        {
            types:"手机贴膜",
            list:[
                {
                    title:"【2片装】朴驰 苹果13防指纹钢化膜高清全透明防指纹抗蓝光防窥防爆手机保护贴膜 全透明*升级防指纹*2片装",
                    img:"./assets/img/fittings/21.jpg",
                    price:18.8
                },
                {
                    title:"【2片装】爱喜达 iPhone苹果13钢化膜高清全透明防指纹抗蓝光防窥手机保护贴膜 升级防指纹*2片装",
                    img:"./assets/img/fittings/22.jpg",
                    price:73
                },
                {
                    title:"【2片装】金米诺 苹果13钢化膜抗蓝光iPhone13钢化膜高清防指纹防爆玻璃手机贴膜 全透明【增强防指纹】2片装",
                    img:"./assets/img/fittings/23.jpg",
                    price:18.8
                },
                {
                    title:"御胜 苹果13/13pro钢化膜13promax防窥膜13mini手机膜全屏覆盖高清抗蓝光手机保护膜 苹果13/Pro 高清钢化膜（2片装）",
                    img:"./assets/img/fittings/24.jpg",
                    price:13.8
                },
                {
                    title:"【2片装】崇捷 苹果13/Pro/max/mini钢化膜防窥手机膜透明防指纹防爆抗蓝光高清保护膜 【苹果13】全透明升级防指纹*2片装",
                    img:"./assets/img/fittings/25.jpg",
                    price:12.8
                }
            ]
        },
        {
            types:"直插充电器",
            list:[
                {
                    title:"Apple 20W USB-C手机充电器插头 快速充电头 手机充电器 适配器 适用iPhone12/iPhone13/iPad 快充插头",
                    img:"./assets/img/fittings/31.jpg",
                    price:149
                },
                {
                    title:"Apple 15W MagSafe iPhone 磁吸充电器 支持iPhone 12/iPhone 13 15W手机便捷快速充电",
                    img:"./assets/img/fittings/32.jpg",
                    price:279
                },
                {
                    title:"Apple MagSafe 双项充电器",
                    img:"./assets/img/fittings/33.jpg",
                    price:1025
                },
                {
                    title:"Apple 12W USB 电源适配器",
                    img:"./assets/img/fittings/34.jpg",
                    price:140
                },
                {
                    title:"Apple 5W USB 电源适配器 iPhone iPad 手机 平板 充电器",
                    img:"./assets/img/fittings/35.jpg",
                    price:140
                }
            ]
        },
        {
            types:"移动电源",
            list:[
                {
                    title:"罗马仕 22.5W超级快充移动电源30000mAh充电宝双向快充三入三出兼容苹果20W TypeC 白色22.5W超级快充",
                    img:"./assets/img/fittings/41.jpg",
                    price:129
                },
                {
                    title:"亿色磁吸充电宝10000毫安时快充MagSafe苹果iphone12promax系列PD18W无线 紫色+苹果线",
                    img:"./assets/img/fittings/42.jpg",
                    price:179
                },
                {
                    title:"罗马仕PSC10充电宝10000毫安时自带线三合一插头移动电源超薄小巧便携迷你大容量适用苹果华为小米 黑色",
                    img:"./assets/img/fittings/43.jpg",
                    price:69
                },
                {
                    title:"罗马仕PHE10充电宝1万毫安时自带线三合一移动电源超薄小巧可拆卸迷你便携镜面适用于苹果小米华为安卓 镜面灰【自带三合一数据线|可拆卸】",
                    img:"./assets/img/fittings/44.jpg",
                    price:99
                },
                {
                    title:"罗马仕PEA57移动电源57000毫安时22.5W充电宝智能数显户外电源双向快充适用于苹果华为小米 黑色",
                    img:"./assets/img/fittings/45.jpg",
                    price:219
                }
            ]
        },
        {
            types:"数据线",
            list:[
                {
                    title:"罗马仕 数据线三合一苹果Type-c安卓手机充电线3.5A快充多功能一拖三头适用苹果/小米华为vivo 1.5米车载多用",
                    img:"./assets/img/fittings/51.jpg",
                    price:18.8
                },
                {
                    title:"韩兹 数据线一拖三 三合一手机USB充电器线适用小米/华为Type-c/安卓/苹果/ipad 土豪金(1.2米)【Type-c/安卓/苹果】",
                    img:"./assets/img/fittings/52.jpg",
                    price:22.8
                },
                {
                    title:"魅膜膜 三合一数据线usb3头一拖三多功能充电线多头车载快充线华为小米苹果/安卓/type-c线通用 土豪金",
                    img:"./assets/img/fittings/53.jpg",
                    price:22.9
                },
                {
                    title:"魅膜膜 三合一数据线苹果/安卓/type-c线通用三头一拖三多功能充电线usb多头车载快充线 土豪金",
                    img:"./assets/img/fittings/54.png",
                    price:29.9
                },
                {
                    title:"纽曼(Newmine)苹果/Type-c/安卓USB-C一拖三数据线三合一充电线 适用iPhoneX/XS Max/XR/小米华为p30 金色",
                    img:"./assets/img/fittings/55.jpg",
                    price:11.8
                }
            ]
        }
    ]
}
// 店铺热销与热门关注
var popHot = [
    {
        type:"店铺热销",
        list:[
            {
                title:"Apple 20W USB-C手机充电器插头 快速充电头 手机充电器 适配器 适用iPhone12/iPhone13/iPad 快充插头",
                img:"./assets/img/asider/p1.jpg",
                price:119
            },
            {
                title:"Apple AirPods 配充电盒 Apple蓝牙耳机 适用iPhone/iPad/Apple Watch",
                img:"./assets/img/asider/p2.jpg",
                price:1046
            },
            {
                title:"Apple iPhone 11 (A2223) 128GB 白色 移动联通电信4G手机 双卡双待",
                img:"./assets/img/asider/p3.jpg",
                price:4499
            },
            {
                title:"Apple AirPods Pro 主动降噪无线蓝牙耳机 适用iPhone/iPad/Apple Watch",
                img:"./assets/img/asider/p4.jpg",
                price:1699
            },
            {
                title:"Apple iPhone 12 (A2404) 128GB 白色 支持移动联通电信5G 双卡双待手机",
                img:"./assets/img/asider/p5.jpg",
                price:5399
            },
            {
                title:"Apple 采用Lightning/闪电接头的 EarPods 耳机 iPhone iPad 耳机 手机耳机",
                img:"./assets/img/asider/p6.jpg",
                price:149
            }
        ]
    },
    {
        type:"热门关注",
        list:[
            {
                title:"Apple iPhone 12 (A2404) 64GB 黑色 支持移动联通电信5G 双卡双待手机",
                img:"./assets/img/asider/h1.jpg",
                price:4999
            },
            {
                title:"Apple iPhone 12 mini (A2400) 64GB 黑色 手机 支持移动联通电信5G",
                img:"./assets/img/asider/h2.jpg",
                price:4099
            },
            {
                title:"Apple iMac 【2020新款 】27 英寸5K屏 3.1GHz 六核十代 i5/8GB/256GB固态/RP5300 一体式电脑主机 MXWT2CH/A",
                img:"./assets/img/asider/h3.jpg",
                price:12999
            },
            {
                title:"Apple iPhone 13 mini (A2629) 128GB 星光色 手机 支持移动联通电信5G ",
                img:"./assets/img/asider/h4.jpg",
                price:5199
            },
            {
                title:"Apple iPad Air 10.9英寸 平板电脑（ 2020年新款 64G WLAN版/A14芯片/触控ID/全面屏MYFM2CH/A）深空灰色",
                img:"./assets/img/asider/h5.jpg",
                price:4319
            },
            {
                title:"Apple AirPods 配无线充电盒 Apple蓝牙耳机 适用iPhone/iPad/Apple Watch",
                img:"./assets/img/asider/h6.jpg",
                price:1199
            }
        ]
    }
];
// 店铺新品
var shopNew =[
    {
        title:"Apple iPhone 13 (A2634) 256GB 蓝色 支持移动联通电信5G 双卡双待手机【1年期官方AppleCare+版】",
        img:"./assets/img/asider/n1.jpg",
        price:7447
    },
    {
        title:"Apple iPhone 13 (A2634) 128GB 蓝色 支持移动联通电信5G 双卡双待手机【1年期官方AppleCare+版】",
        img:"./assets/img/asider/n2.jpg",
        price:6647
    },
    {
        title:"Apple iPhone 13 (A2634) 512GB 蓝色 支持移动联通电信5G 双卡双待手机【1年期官方AppleCare+版】",
        img:"./assets/img/asider/n3.jpg",
        price:9047
    },
    {
        title:"Apple iPhone 13 (A2634) 128GB 午夜色 支持移动联通电信5G 双卡双待手机【1年期官方AppleCare+版】",
        img:"./assets/img/asider/n4.jpg",
        price:6647
    },
    {
        title:"Apple iPhone 13 (A2634) 256GB 星光色 支持移动联通电信5G 双卡双待手机【1年期官方AppleCare+版】",
        img:"./assets/img/asider/n5.jpg",
        price:7447
    },
    {
        title:"Apple iPhone 13 (A2634) 256GB 午夜色 支持移动联通电信5G 双卡双待手机【1年期官方AppleCare+版】",
        img:"./assets/img/asider/n6.jpg",
        price:7447
    }
];